Skip to content

Refactor Agent Management System to Support Database-Driven Configuration#153

Merged
Ashad001 merged 7 commits intoFireBird-Technologies:mainfrom
Ashad001:feat/custom-agents
Jun 17, 2025
Merged

Refactor Agent Management System to Support Database-Driven Configuration#153
Ashad001 merged 7 commits intoFireBird-Technologies:mainfrom
Ashad001:feat/custom-agents

Conversation

@Ashad001
Copy link
Contributor

This pull request introduces a comprehensive overhaul of the agent management system in the backend, focusing on database-driven agent configuration and improved user preference handling. Key changes include the removal of hardcoded agent dictionaries, the introduction of database-backed agent templates, and updates to the API and scripts to support these changes.

Agent Management System Overhaul

  • Database-Driven Agent Loading: Removed hardcoded agent dictionaries (AVAILABLE_AGENTS, PLANNER_AGENTS) and updated the system to dynamically load agents from the database based on user preferences. This ensures a more flexible and maintainable approach to managing agents (auto-analyst-backend/app.py).

  • Deep Analyzer Enhancements: Updated the deep analyzer initialization to load user-enabled agents from the database, with a fallback to default agents if no preferences are set or an error occurs (auto-analyst-backend/app.py).

Infrastructure Updates

  • Dockerfile Update: Made the populate_agent_templates.py script executable to support the initialization of agent templates during container setup (auto-analyst-backend/Dockerfile).

Miscellaneous

  • Gitignore Update: Adjusted the .gitignore file to ignore all .db files, ensuring database files are excluded from version control (auto-analyst-backend/.gitignore).

@Ashad001 Ashad001 merged commit ee9eb49 into FireBird-Technologies:main Jun 17, 2025
1 check passed
ArslanS1997 pushed a commit that referenced this pull request Mar 17, 2026
…tion (#153)

* Default Agents now loaded from DB

* Deep Agents Integrated with DB

* Syntax Errors Fixed

* Backend Bug Fixed - Working version 1.0

* Backend Testing - working v2

* Bug Fixes v1

* remove extra files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant